import urllib2
from bs4 import BeautifulSoup
import re
response = urllib2.urlopen('http://www.cocoachina.com/ios/20170607/19457.html')

content = response.read()

soup =  BeautifulSoup(content, 'html.parser', from_encoding= 'utf-8')

uls = soup.find_all('a', href = re.compile(r'/ios/[0-9]+/[0-9]+\.html'))

for ul in uls :
	print ul['href']


text = soup.find_all('h2')
print text[0].get_text()